<?php
!defined('IN_AM') && exit('Acess Denied');
class control extends base {
	function control(){
	$this->base();
	$this->load_class('photo');
	$this->load_class('user');
	}
	function actiondefault()
	{
		$userdata = $_ENV['user']->indexuser(0,18);
		$photodata = $_ENV['photo']->get_hot(0,1);
		$this->view->request_use_auto_globals= true;
		$this->view->cache_lifetime=300;
		$this->view->assign('userdata',$userdata);
		$this->view->assign('photodata',$photodata);
		$this->view->display('index.htm');
	}
}
?>